package week07.MidEx;

public class PlaneProxy implements Plane {
    private Plane plane;
    public PlaneProxy(){
        this.plane=new PlaneImpl();
    }
    @Override
    public void takeOff() {
        PlaneInAirPort planeInAirPort=new PlaneInAirPort(plane);
        planeInAirPort.schedule();

    }
}
